package com.bree.erp.service;

import com.bree.erp.entity.Address;
import com.bree.erp.entity.PhoneType;
import com.bree.erp.entity.Supplier;

public interface SupplierService extends Crud<Supplier, Long>{

	Supplier create(String name, String remarks);
	Supplier read(Long id);
	Supplier update(Long id, String name, String remarks);
	Supplier update(Long id, Address address);
	Supplier update(Long id, PhoneType type, String phoneDetail);
	void delete(Long id);
}
